<template>
  <div>
    <h3>登录</h3>
    <input type="text" />
    <input type="text" />
    <button @click="login">登录</button>
  </div>
</template>

<script>
export default {
  methods: {
    login() {
      this.$router.push("/");
    },
  },
};
</script>

<style>
</style>